let uniapp_txt = `<template>
<view class='main_container'>
  $1
</view>
</template>
<script>
let thats = null;
export default {
  data () {
    return {
      key: 1,
      Method: {}
    };
  },
  onLoad (options) {
// 初始化加载
      console.log('获取传递的值:',options);
  },
  onShow () {
// 当前页面显示
  },
  onPullDownRefresh () {

  },
  onReachBottom () {

  },
  created () {
    this.reloads(0);
    thats = this;
  },
  mounted () {
    console.log('get信息');
    this.reloads(1);
  },
  components:{

  },
  computed: {
    name() {
      return this.$store.state 
    }
  },
  methods: {
    reloads (idx = 0) {
      let _this = this;
      class Request {
        constructor () {

        }
        initData () {
          console.log('初始化');
        }
      }
      let method = new Request();
      this.$set(this,'Method',method)
      if (idx) {
        method.initData();
      }
    },
  },
}
</script>
<style lang='$1'>
.main_container {
  width: 100%;
}
</style>`
let vue_txt = `
<template>
	<div class='#1_main_box'>
    #1
	</div>
</template>
<script>
	export default {
    name:"#1",
		data() {
			return {
				key: "#1"
			};
		},
    created(){
      console.log("实例化!")
    },
		mounted() {
      console.log("初始化!")
		},
		methods: {
			name() {

			}
		},
	}
</script>
<style lang='#0' type='text/#0'>
.#1_main_box{

}
</style>
`
module.exports = {
  uniapp_txt,
  vue_txt
}